import request from "./request.js"
//获取我的认证列表
export function getRolePage(data){
	return request({url: "/role/mine_page",method:"get",data})
}
//添加认证
export function roleSave(data){
	return request({url: '/role/save',method: 'post',data})
}
//获取认证详情
export function roleDetail(data){
	return request({url: '/role/detail',method: 'get',data})
}
//根据用户id和roleType获取用户详情
export function roleDetailByUserIdAndRoleType(data){
	return request({url: '/role/detail_by_user_id_and_role_type',method: 'get',data})
}